//
//  NSString+NSZooString.m
//  ZooNgonDoiOS
//
//  Created by Anh Jun Linh Tinh on 7/5/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import "NSString+NSZooString.h"

@implementation NSString (NSZooString)
+ (NSString *) appendString:(id) first, ...
{
    NSString * result = @"";
    id eachArg;
    va_list alist;
    if(first)
    {
        result = [result stringByAppendingString:first];
        va_start(alist, first);
        while ((eachArg = va_arg(alist, id))) 
            result = [result stringByAppendingString:eachArg];
        va_end(alist);
    }
    return result;
}
@end
